class Example(object):
    def __init__(self):
        self.Str = []

    def andEqualTo(self, key, value):
        self.Str.append(f"{key}='{value}'")
        return self

    def andLikeTo(self, key, value):
        self.Str.append(f"{key} like '%{value}%'")
        return self

    def getStr(self):
        return self.Str
